<?php
namespace app\admin\model;
use think\Model;

class SystemNavAction extends Model {
	
	protected $name = 'system_nav_action';  			//表名
	protected $pk = 'action_id';  			//主键		
	protected $autoinc  = true;	   	    //主键是否自动增长类型
   
	
	//根据路由获取导航 func_code
	public function addAction($data){
		return $this ->allowField(true) -> save($data);
	}
	
	
	
}